package com.starview.star.operators.pio.runtime;

public class SerializeFloat {
  public static long __float_to_bits(double d) {
    return Double.doubleToRawLongBits(d);
  }

  public static double __float_of_bits(long l) {
    return Double.longBitsToDouble(l);
  }

  public static long __float_nan_bits() {
    return Double.doubleToRawLongBits(Double.NaN);
  }

  public static boolean __float_is_nan(double f) {
    return Double.isNaN(f);
  }
}
